package com.doujiang.bus.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author：豆浆
 * @name :Check
 * @Date：2023/12/21 20:03
 */
public class Check {
    private String checkid;//检查出租单id
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date checkdate;
    private String checkdesc;
    private String problem;
    private Double paymoney;
    private String opername;
    private String rentid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createtime;

    public Check() {
    }

    public Check(String checkid, Date checkdate, String checkdesc, String problem, Double paymoney, String opername, String rentid, Date createtime) {
        this.checkid = checkid;
        this.checkdate = checkdate;
        this.checkdesc = checkdesc;
        this.problem = problem;
        this.paymoney = paymoney;
        this.opername = opername;
        this.rentid = rentid;
        this.createtime = createtime;
    }

    /**
     * 获取
     * @return checkid
     */
    public String getCheckid() {
        return checkid;
    }

    /**
     * 设置
     * @param checkid
     */
    public void setCheckid(String checkid) {
        this.checkid = checkid;
    }

    /**
     * 获取
     * @return checkdate
     */
    public Date getCheckdate() {
        return checkdate;
    }

    /**
     * 设置
     * @param checkdate
     */
    public void setCheckdate(Date checkdate) {
        this.checkdate = checkdate;
    }

    /**
     * 获取
     * @return checkdesc
     */
    public String getCheckdesc() {
        return checkdesc;
    }

    /**
     * 设置
     * @param checkdesc
     */
    public void setCheckdesc(String checkdesc) {
        this.checkdesc = checkdesc;
    }

    /**
     * 获取
     * @return problem
     */
    public String getProblem() {
        return problem;
    }

    /**
     * 设置
     * @param problem
     */
    public void setProblem(String problem) {
        this.problem = problem;
    }

    /**
     * 获取
     * @return paymoney
     */
    public Double getPaymoney() {
        return paymoney;
    }

    /**
     * 设置
     * @param paymoney
     */
    public void setPaymoney(Double paymoney) {
        this.paymoney = paymoney;
    }

    /**
     * 获取
     * @return opername
     */
    public String getOpername() {
        return opername;
    }

    /**
     * 设置
     * @param opername
     */
    public void setOpername(String opername) {
        this.opername = opername;
    }

    /**
     * 获取
     * @return rentid
     */
    public String getRentid() {
        return rentid;
    }

    /**
     * 设置
     * @param rentid
     */
    public void setRentid(String rentid) {
        this.rentid = rentid;
    }

    /**
     * 获取
     * @return createtime
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * 设置
     * @param createtime
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String toString() {
        return "Check{checkid = " + checkid + ", checkdate = " + checkdate + ", checkdesc = " + checkdesc + ", problem = " + problem + ", paymoney = " + paymoney + ", opername = " + opername + ", rentid = " + rentid + ", createtime = " + createtime + "}";
    }
}
